On the code:#!/bin/bash#engine server Install#write by guojr#set Engine server Dirjdk=jdk-6u34-linux-x64-rpm.binchmod o+x $JDK Echo-e "\ n" |/$jdk;(cat Echo-e "\ n" |./$JDK; This is the most critical step. Skip Enter auto-install JDKThis article is from the "david0512" blog, make sure to keep this source http://gjr0512.blog.51cto.com/6518687/1611469Shell Script
Yum install-y $i
echo "package $i are now installed" >>/root/package.log 2>1
Fi done
Second, automatically add users, user groups automatically add user groups, create directories, define Oracle passwords, and then add environment variables, kernel parameters, etc., Oracle password set to Oracle #!/bin/bash Foriindbaoinstall do cat /etc/group|grep $i >/dev/null2>1 if[$?-eq0];then echo "group $i isalreadyexist "else groupadd-r $i fi done idora
Redhat 6.4 When installing the VirtualBox auto-enhance feature, Tip:Building the main Guest additions module FAILEDUnable to find the sources of your current Linux kernel. Specify kern_dir-This time you need to detect whether GCC make Kernel-level kernel-header and other files are installed. Use the following command specifically:Rpm–qa|grep GCCIf not, you need to install the following command:Yum
window| Introduction | Auto Install
It usually takes more than 1 hours to install Windows XP in a regular way. Fortunately, Microsoft has designed the automatic installation function from Windows 2000, which greatly saves our time. In the installation of Windows XP, the automatic installation function of the * method made a number of improvements, the initial ins
Auto install centOS6.5 under XE + kickstart
About PXE
Pxe works in the Client/Server network mode. When the Client does not have an operating system locally, it can download the image file and kickstart file from the Server over the network, the system is automatically installed based on the kickstart file. When you deploy environments for multiple servers, you can inst
/javase/downloads/index.htmlwindows: 1) Create a new java_home variable in the system variable, the value of the variable is: C:\Java\jdk1.7.0_67 (fill in according to their own installation path)2) New CLASSPATH variable, the value of the variable is:.; %java_home%\lib;%java_home%\lib\tools.jar3) Add variable value in Path variable (existing without new):%java_home%\bin;%java_home %\jre\bin (Note the value of the variable with ";" SeparatedReference:1, How-to-automate-download-and-installation-
Label:CentOS6.7 using a non-root user (normal user) compile and install the MySQL database and implement the MySQL database service random auto-start using the Shell Script timed task mode1. About MySQL?MySQL is a relational database management system developed by the Swedish MySQL AB company, currently owned by Oracle Corporation. MySQL is an associated database management system that keeps data in separat
operators.2, create shortcuts (created in the program, can have as additional tasks, according to the user's choice, there is a choice to create):Add Reference: COM tab and select Windows Script Host Object ModelCreate object: Create an instance object of WshShell, and then use the object's CreateShortcut method to create an instance object of the Iwshshortcut interface, passed to CreateShortcut The parameter of the method is the full path to the shortcut that will be created, including the nam
Linux Auto-install JDK shell scriptA: This script runs the machine, LinuxB: The machine to install the JDK, LinuxFirst, on machine a where the script is running, you can log on to the machine B where the JDK is to be installed without SSH password, and then you can run this script on a:$./install-jdk.sh B's IPOr$./
ports of MySQL installation, intput strings of PORT with whitespace separated. #e. G. "3306 3307" means install two MySQL servers:# the $INST installed and _PATH/1 listen He second server is installed to $INST _PATH/2 and listen 3307 port.# ... inst_ports= "3306" #The Management Server informationmgm_host= "192.168.1.253" mgm_port= "2200" ####################### ############################# MySQL Cluster Config ######################################
Debian/ubuntu apt-get too commonly used, but occasionally may also encounter unfamiliar, can't remember the name of the package, in addition to the Debian packages to find, the other way is to add automatic completion of Debian/ubuntu/complete function. Here's how:1, installation Bash-completionApt-get Install Bash-completion2. Edit the ~/.BASHRC fileAdd the following content:if [-f/etc/bash_completion]; Then. /etc/bash_completionFi3. Make it effectiv
/ndp45-kb3074550-x86_ 21e36f4b0275f54a3c07da11514ee6ee9c78cbd7.exeHttp://download.windowsupdate.com/d/msdownload/update/software/secu/2015/08/ndp45-kb3074230-x86_ 0ad1448495a5f894079fced58a498344b93d69f1.exeAdd the above to the download software, download to a folder, and then set up an auto-install batch install.bat,Install.bat Batch processing content:ndp452-kb2901983-x86-x64-enu_0350e593835125031f36e846f
------Create this file Autoinstall.batThe contents are as follows:@ECHO off@REM Add Adb.exe to PathECHO initialization ...@SET path=%path%;%cd%\adb@REM SET PATH@REM an infinite loop of labels: LOOPECHO waits for you to insert your phone ...ADB wait-for-device@REM Loop Install apk file in this directoryFor%%i in (*.apk) do (ECHO is installing:%%iADB install%%i)@echo offECHO is installed; change a cell phone!
-v grep | Grep-v PID | awk ' {print $} ' |xargs kill-9echo "OK"# [$RETVAL-eq 0] rm-f/var/lock/...Return $RETVALFi}Case "$" inStartStart;;StopStop;;Restartecho $ "restaring Tomcat"$ stopSleep 1$ start;;*)echo $ "Usage: $ {Start|stop|restart}"Exit 1;;EsacExit $RETVAL
Once added, add executable permissions to it:chmod +x/etc/init.d/tomcat.
The link to the shell file is then connected to the/etc/rc2.d/directory. The numbers in the/etc/rcx.d/directory for Linux represent the different
create a restore point and System Restore full Raiders to restore the error.1. Press Win+r to open the run, enter regedit to open the Registry Editor;2. Expand the following location:Hkey_local_machine\software\policies\microsoft\windows\3. Under this key, create a new subkey named Cloudcontent, as shown in:4. Select the Cloudcontent key and create a new DWORD (32-bit) value named Disablewindowsconsumerfeatures on the right, as shown in:5. Double-click Disablewindowsconsumerfeatures, set its va
Spket is a development tool that develops JavaScript, jQuery, Ext_js, and so on, which can be a standalone IDE or as an Eclipse plug-in, and describes how to install the Spket plugin in eclipse;1. First Officer net http://www.spket.com/download.html download Spket package, I download is spket-1.6.23.zip;2. Unzip Spket-1.6.23.zip will see an Eclipse folder, below the plugins and features two folders, the contents of the two folders under the Eclipse in
1 Installing VIM2 Install the VIM plug-in management tool. The process is shown in the link. Thank3 .vimrc Add the following code in the' Valloric/youcompleteme 'After saving exit, open vim and enter in normal mode: BundleinstallWait for the installation to complete.4 If you have not previously installed dependencies on the softwarepython-dev libxml2-dev libxslt-dev等,需要安装,否则出现错误。sudo apt-get install Python-
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.